From: Keir Fraser Date: Wed, 14 May 2008 08:31:44 +0000 (+0100) Subject: hvm_op: Fix public header file to provide limited exposure to X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14215^2~6 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=dec6a3857f635824e02708b5c79535d971d90047;p=xen.git hvm_op: Fix public header file to provide limited exposure to tools-only interface. Signed-off-by: Keir Fraser --- diff --git a/xen/include/public/hvm/hvm_op.h b/xen/include/public/hvm/hvm_op.h index c2828c1f93..19f0cb707f 100644 --- a/xen/include/public/hvm/hvm_op.h +++ b/xen/include/public/hvm/hvm_op.h @@ -73,6 +73,9 @@ DEFINE_XEN_GUEST_HANDLE(xen_hvm_set_pci_link_route_t); /* Flushes all VCPU TLBs: @arg must be NULL. */ #define HVMOP_flush_tlbs 5 +/* Following tools-only interfaces may change in future. */ +#if defined(__XEN__) || defined(__XEN_TOOLS__) + /* Track dirty VRAM. */ #define HVMOP_track_dirty_vram 6 struct xen_hvm_track_dirty_vram { @@ -89,4 +92,6 @@ struct xen_hvm_track_dirty_vram { typedef struct xen_hvm_track_dirty_vram xen_hvm_track_dirty_vram_t; DEFINE_XEN_GUEST_HANDLE(xen_hvm_track_dirty_vram_t); +#endif /* defined(__XEN__) || defined(__XEN_TOOLS__) */ + #endif /* __XEN_PUBLIC_HVM_HVM_OP_H__ */